<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

</body>
<script>
    var obj = {
        a:"a",
        get d(){
            return "d"
        }
    }
    obj.e = "e"
    Object.defineProperty(obj,"b",{
        configurable:false,
        enumerable:false,
        get(){
            return "b"
        },
        set(val){

        }
    })
    obj.__defineGetter__("c",function(){
        return "c"
    })

    console.log(obj.a)
    console.log(obj.b)
    console.log(obj.c)
    console.log(obj.d)
    console.log(obj.e)
</script>
</html>